package com.wuye.model.option;

import com.wuye.model.WuyePersistable;

import javax.persistence.Entity;

/**
 * Created by jiawenlong on 2016/8/5.
 * 问卷答案表
 */
@Entity
public class QuestionAnswer extends WuyePersistable<Long>{
    String userId;
    long userAnswerId;
    long questionnaireId;
    long questionId;
    int answer;
    String mark;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public long getUserAnswerId() {
        return userAnswerId;
    }

    public void setUserAnswerId(long userAnswerId) {
        this.userAnswerId = userAnswerId;
    }

    public long getQuestionnaireId() {
        return questionnaireId;
    }

    public void setQuestionnaireId(long questionnaireId) {
        this.questionnaireId = questionnaireId;
    }

    public long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(long questionId) {
        this.questionId = questionId;
    }

    public int getAnswer() {
        return answer;
    }

    public void setAnswer(int answer) {
        this.answer = answer;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }
}
